﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTOs
{
    public class StudentInfo
    {
        //auto properties

        public int RollNo { set; get; }
        public string Name { set; get; }
        public int Age { set; get; }



        //private int _roll;
        //private string _name;
        //private int _age;

        //public int RollNo
        //{
        //    set { _roll = value; }
        //    get { return _roll; }
        //}
        //public string Name
        //{
        //    set { _name = value; }
        //    get { return _name; }
        //}
        //public int Age
        //{
        //    set { _age = value; }
        //    get { return _age; }
        //}

    }
}
